<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>提交测试</title>
</head>

<body>
    <form action="/search-post" method="post">
        {% csrf_token %}
        <input type="text" name="q">
        <input type="submit" value="Submit">
    </form>

    <p>{{ rlt }}</p>
</body>

</html>